package com.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Readertype entity. @author MyEclipse Persistence Tools
 */

public class Readertype implements java.io.Serializable {

	// Fields

	private String readerId;
	private String readerType;
	private Integer readerCanBorrowMount;
	private Integer readerCanBorrowTime;
	private String readerCanBorrowDay;
	private Set users = new HashSet(0);

	// Constructors

	/** default constructor */
	public Readertype() {
	}

	/** minimal constructor */
	public Readertype(String readerId, String readerType,
			Integer readerCanBorrowMount, Integer readerCanBorrowTime,
			String readerCanBorrowDay) {
		this.readerId = readerId;
		this.readerType = readerType;
		this.readerCanBorrowMount = readerCanBorrowMount;
		this.readerCanBorrowTime = readerCanBorrowTime;
		this.readerCanBorrowDay = readerCanBorrowDay;
	}

	/** full constructor */
	public Readertype(String readerId, String readerType,
			Integer readerCanBorrowMount, Integer readerCanBorrowTime,
			String readerCanBorrowDay, Set users) {
		this.readerId = readerId;
		this.readerType = readerType;
		this.readerCanBorrowMount = readerCanBorrowMount;
		this.readerCanBorrowTime = readerCanBorrowTime;
		this.readerCanBorrowDay = readerCanBorrowDay;
		this.users = users;
	}

	// Property accessors

	public String getReaderId() {
		return this.readerId;
	}

	public void setReaderId(String readerId) {
		this.readerId = readerId;
	}

	public String getReaderType() {
		return this.readerType;
	}

	public void setReaderType(String readerType) {
		this.readerType = readerType;
	}

	public Integer getReaderCanBorrowMount() {
		return this.readerCanBorrowMount;
	}

	public void setReaderCanBorrowMount(Integer readerCanBorrowMount) {
		this.readerCanBorrowMount = readerCanBorrowMount;
	}

	public Integer getReaderCanBorrowTime() {
		return this.readerCanBorrowTime;
	}

	public void setReaderCanBorrowTime(Integer readerCanBorrowTime) {
		this.readerCanBorrowTime = readerCanBorrowTime;
	}

	public String getReaderCanBorrowDay() {
		return this.readerCanBorrowDay;
	}

	public void setReaderCanBorrowDay(String readerCanBorrowDay) {
		this.readerCanBorrowDay = readerCanBorrowDay;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

}